<?php /* Smarty version 2.6.20, created on 2016-07-20 12:06:15
         compiled from shop_pay_log.htm */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="main.js"></script>
<script language="javascript" src="../script/Calendar.js"></script>
<title></title>
</head>
<body>
<div class="bigbox">
  <div class="bigboxhead tab" style="width:90%">
  <span class="cbox on"><a href="javascript:void(0);">开店/升级支付明细</a></span>
  </div>
  <div class="bigboxbody" style="margin-top:-1px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="menu">
      <tr height="25">
        <td height="107" colspan="8"  align="left">
        <form action="" method="get">
        	<input name="m" type="hidden" value="micro_shop" />
            <input name="s" type="hidden" value="shop_pay_log.php" />
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td style="border:none">会员</td>
                <td style="border:none">
                	<textarea name="member_id" placeholder="会员ID，支持逗号分隔的多个"><?php echo $_GET['member_id']; ?>
</textarea>
               	</td>
                <td style="border:none">店铺类型</td>
                <td style="border:none">
                	<select name="level">
                		<option value="0" <?php if ($_GET['level'] == 0): ?>selected<?php endif; ?>>全部</option>
                		<option value="1" <?php if ($_GET['level'] == 1): ?>selected<?php endif; ?>>首席馆</option>
                		<option value="2" <?php if ($_GET['level'] == 2): ?>selected<?php endif; ?>>红人馆</option>
                		<option value="3" <?php if ($_GET['level'] == 3): ?>selected<?php endif; ?>>吃货</option>
                	</select>
                </td>
                
                <td style="border:none">支付方式</td>
                <td style="border:none">
                	<select name="payment_name">
                		<option value="">全部</option>
						<?php $_from = $this->_tpl_vars['bank_en_abbr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['pay_list']):
?>
						<option value="<?php echo $this->_tpl_vars['key']; ?>
" <?php if ($_GET['payment_name'] == $this->_tpl_vars['key']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['pay_list']; ?>
</option>
						<?php endforeach; endif; unset($_from); ?>
                	</select>
                </td>
                
                <td style="border:none">
                                    时间
                <script language="javascript">
                    var cdr = new Calendar("cdr");
                    document.write(cdr);
                    cdr.showMoreDay = true;
                    </script>
                </td>
                <td style="border:none"><input onFocus="cdr.show(this);" class="ltext" value="<?php echo $_GET['stime']; ?>
" name="stime" type="text" id="stime">
                  --
                  <input onFocus="cdr.show(this);" class="rtext" value="<?php echo $_GET['etime']; ?>
" name="etime" type="text" id="etime">
                </td>
                <td style="border:none"><input name="Submit" type="submit" class="btn" value="搜索"></td>
              </tr>
            </table>
          </form></td>
      </tr>
      <tr class="theader">
        <td width="50" align="left">会员ID</td>
        <td width="150" align="left">店铺名称</td>
        <td width="100" align="left">支付方式</td>
        <td width="100" align="left">金额</td>
        <td align="left">备注</td>
        <td align="left">行为</td>
        <td width="100" align="left">操作人</td>
        <td width="150" align="left">时间</td>
      </tr>
      <?php $_from = $this->_tpl_vars['de']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['list']):
?>
      <tr>
        <td align="left"><?php echo $this->_tpl_vars['list']['member_id']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['shop_name']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['payment_name']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['price']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['text']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['behavior']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['admin_name']; ?>
</td>
        <td align="left"><?php echo $this->_tpl_vars['list']['create_time']; ?>
</td>
   	   </tr>
		<?php endforeach; else: ?>
        <tr><td colspan="8" align="center" >暂无记录</td></tr>
		<?php endif; unset($_from); ?>
      <tr>
        <td colspan="8" align="right" >
        	<div class="page"><?php echo $this->_tpl_vars['de']['page']; ?>
</div>
        	<br /><div class="fr">共计：<?php echo $this->_tpl_vars['de']['total_price']; ?>
元</div>
        </td>
      </tr>
    </table>
  </div>
</div>
</body>
</html>